package com.puti.doctor.domian;

import java.math.BigDecimal;
import com.puti.common.core.annotation.Excel;
import com.puti.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 商品-秒杀 商品-秒杀对象 goods_seckill
 *
 * @author puti
 * @date 2021-04-21
 */
public class GoodsSeckill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 秒杀ID */
    private Long seckillId;

    /** 秒杀商品编码 */
    @Excel(name = "秒杀商品编码")
    private String seckillGoodsCode;

    /** 秒杀后价格 */
    @Excel(name = "秒杀后价格")
    private BigDecimal seckillGoodsNewprice;

    /** 秒杀数量 */
    @Excel(name = "秒杀数量")
    private Long seckillCount;

    /** 秒杀状态 0：未提交
1：已提交 */
    @Excel(name = "秒杀状态 0：未提交 1：已提交")
    private Long seckillGoodsStatus;

    /** 秒杀活动ID */
    @Excel(name = "秒杀活动ID")
    private Long seckillMarketingId;

    public void setSeckillId(Long seckillId)
    {
        this.seckillId = seckillId;
    }

    public Long getSeckillId()
    {
        return seckillId;
    }
    public void setSeckillGoodsCode(String seckillGoodsCode)
    {
        this.seckillGoodsCode = seckillGoodsCode;
    }

    public String getSeckillGoodsCode()
    {
        return seckillGoodsCode;
    }
    public void setSeckillGoodsNewprice(BigDecimal seckillGoodsNewprice)
    {
        this.seckillGoodsNewprice = seckillGoodsNewprice;
    }

    public BigDecimal getSeckillGoodsNewprice()
    {
        return seckillGoodsNewprice;
    }
    public void setSeckillCount(Long seckillCount)
    {
        this.seckillCount = seckillCount;
    }

    public Long getSeckillCount()
    {
        return seckillCount;
    }
    public void setSeckillGoodsStatus(Long seckillGoodsStatus)
    {
        this.seckillGoodsStatus = seckillGoodsStatus;
    }

    public Long getSeckillGoodsStatus()
    {
        return seckillGoodsStatus;
    }
    public void setSeckillMarketingId(Long seckillMarketingId)
    {
        this.seckillMarketingId = seckillMarketingId;
    }

    public Long getSeckillMarketingId()
    {
        return seckillMarketingId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("seckillId", getSeckillId())
            .append("seckillGoodsCode", getSeckillGoodsCode())
            .append("seckillGoodsNewprice", getSeckillGoodsNewprice())
            .append("seckillCount", getSeckillCount())
            .append("seckillGoodsStatus", getSeckillGoodsStatus())
            .append("seckillMarketingId", getSeckillMarketingId())
            .toString();
    }
}
